﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="wfAddPerson.aspx.cs" Inherits="persona_wfAddPerson" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Adicionar Persona</title>
    <link rel="stylesheet" href="../styles/a-main/a-main.css" type="text/css"/>
    <script language="javascript" src="../include/DD_roundies_0.0.1a.js"></script>
    <script language="javascript">
    DD_roundies.addRule('#divRound1', 10);
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="content">
			<TABLE id=TablaMargen height=380 cellSpacing=0 cellPadding=0 width=984 border=0>
        <TBODY>
        <TR height=7>
          <TD width=7 background="../styles/a-main/img_izq1.gif" 
          colSpan=2 height=7></TD>
          <TD>
            <TABLE id=TablaMargenSuperior height=7 cellSpacing=0 cellPadding=0 
            width=970 border=0>
              <TBODY>
              <TR height=1>
                <TD width="100%" 
                background="../styles/a-main/pixel1.gif" 
                height=1></TD></TR>
              <TR height=6>
                <TD width="100%" 
                background="../styles/a-main/spacer(1).gif" 
                height=6></TD></TR></TBODY></TABLE></TD>
          <TD width=7 background="../styles/a-main/img_der1.gif" 
          colSpan=2 height=7></TD></TR>
        <TR height=492>
          <TD width=1 background="../styles/a-main/pixel1.gif" 
          height="100%"><IMG src="../styles/a-main/spacer.gif" 
            width=1></TD>
          <TD width=6 
          background="../styles/a-main/spacer(1).gif" 
          height="100%"></TD>
          <TD vAlign=top width=970><!-- INICIO DE TABLA DE CONTROLES DE PANTALLA TAMAÑO 970-->
            <TABLE id=TablaEntornoPrincipal cellSpacing=0 cellPadding=0 
            width="100%">
              <TBODY>
              <TR>
                <TD width=10><IMG 
                  src="../styles/a-main/spacer.gif" width=10></TD>
                <TD width=950><!-- INICIO DE TABLA PRINCIPAL 950-->
                  <TABLE id=TablaPrincipal cellSpacing=0 cellPadding=0 
                  width="100%">
                    <TBODY>
                    <TR>
                      <TD>
			<!-- TABLA TITULO-->
                        <TABLE id=TablaTitulo cellSpacing=0 cellPadding=0 
                        width="100%">
                          <TBODY>
                          <TR>
                            <TD width=7 style="height: 19px"><IMG height=7 
                              src="../styles/a-main/bullet_flecha.gif" 
                              width=7></TD>
                            <TD class=Texto_titulo1 align=left style="height: 19px">
							<span class="sTit">TRABAJADORES Y CARGOS</span></TD></TR></TBODY></TABLE>
			<!-- FIN TABLA TITULO--></TD></TR><!-- INICIO DE UN ESPACIO TITULO - BUSQUEDA -->
                    <TR>
                      <TD height=10></TD></TR><!-- FIN DE UN ESPACIO TITULO - BUSQUEDA -->
                    <TR>
                      <TD>
					  
					  <!-- TABLA BUSQUEDA-->
                        <TABLE id=TablaMargenBusqueda height=100 cellSpacing=0 
                        cellPadding=0 width="100%" bgColor=#f6f6f6 border=0>
                          <TBODY>
                          <TR height=7>
                            <TD width=7 
                            background="../styles/a-main/img_izqgris1.gif" 
                            colSpan=2 height=7></TD>
                            <TD>
                              <TABLE id=TablaMargenSuperiorBusqueda height=7 
                              cellSpacing=0 cellPadding=0 width="100%" 
                                border=0><TBODY>
                                <TR height=1>
                                <TD width="100%" 
                                background="../styles/a-main/pixel1.gif" 
                                height=1></TD></TR>
                                <TR height=6>
                                <TD width="100%" 
                                background="../styles/a-main/spacer(1).gif" 
                                height=6></TD></TR></TBODY></TABLE></TD>
                            <TD width=7 
                            background="../styles/a-main/img_dergris1.gif" 
                            colSpan=2 height=7></TD></TR>
                          <TR height=86>
                            <TD width=1 
                            background="../styles/a-main/pixel1.gif" 
                            height="100%"><IMG 
                              src="../styles/a-main/spacer.gif" 
                              width=1></TD>
                            <TD width=6 
                            background="../styles/a-main/spacer(1).gif" 
                            height="100%"></TD>
                            <TD width=936>
							
							<!-- INICIO DE TABLA DE CONTROLES DE BUSQUEDA TAMAÑO 936-->
	
	
	
	
<table width="100%" border="0">
  <tr>
    <td colspan="5" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <!-- bordercolor="#ECECEC" -->
    <tr>
        <td align="left" class="sTit" colspan="3">
        <div id="divRound1" class="DivRound">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td colspan="4">
                    <img src="../styles/a-main/Bullet485.gif" border="0" />&nbsp;<span class="sTit">Selección
                        de Trabajadores </span>
                    </td>
                </tr>
                <tr>
                    <td>
                    <span class="lblCaption">Cargo: </span>
                    </td>
                    <td>
        <asp:DropDownList ID="ddlCargo" runat="server" CssClass="sel" Width="250px">
    </asp:DropDownList></td>
                    <td>
                    <span class="lblCaption">Flota:
        <asp:DropDownList ID="ddlFlota" runat="server" CssClass="sel" Width="95px">
    </asp:DropDownList></span></td>
                    <td>
        <asp:ImageButton ID="imgConsultar" runat="server" ImageUrl="../styles/a-main/BTbuscar.gif"
            OnClick="imgConsultar_Click" /></td>
                </tr>
                <tr>
                    <td><span class="lblCaption">Apellido: </span>
                    </td>
                    <td>
                        <asp:TextBox ID="txtApPat" runat="server" CssClass="inTextData" Width="250px"></asp:TextBox></td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
        </td>
        <td>
        </td>
    </tr>
    <tr>
        <td style="width: 168px">&nbsp;
            </td>
        <td style="width: 136px">
        </td>
        <td style="width: 171px">
        </td>
        <td>
        </td>
    </tr>
    <tr>
        <td colspan="4">
            <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse"
                width="85%">
                <tr>
                    <td valign="top">
<asp:GridView ID="gvTrab" runat="server" AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" OnRowDataBound="gvTrab_RowDataBound" OnPageIndexChanging="gvTrab_PageIndexChanging" AllowPaging="True" PageSize="15" Width="100%">
    <Columns>
        <asp:BoundField DataField="CodigoTrabajador" HeaderText="Codigo" />
        <asp:BoundField DataField="ApPaterno" HeaderText="Apellido Paterno" />
        <asp:BoundField DataField="ApMaterno" HeaderText="Apellido Materno" />
        <asp:BoundField DataField="Nombre" HeaderText="Nombre" />
        <asp:BoundField DataField="DesCargo" HeaderText="Cargo" />
        <asp:BoundField DataField="CodigoCargo" HeaderText="CodCargo" Visible="False" />
        <asp:TemplateField HeaderText="Seleccion">
            <ItemTemplate>
                &nbsp;<asp:ImageButton ID="ImageButton1" runat="server" /><br />
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
    <RowStyle BackColor="#EEEEEE" ForeColor="Black" CssClass="RowGrid" />
    <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" CssClass="GVPage" />
    <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
    <AlternatingRowStyle BackColor="Gainsboro" />
</asp:GridView> 
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
    </td>
  </tr>
</table>

<!-- FIN TABLA BUSQUEDA-->

								</TD>
                            <TD width=6 
                            background="../styles/a-main/spacer(1).gif" 
                            height="100%"></TD>
                            <TD width=1 
                            background="../styles/a-main/pixel1.gif" 
                            height="100%"><IMG 
                              src="../styles/a-main/spacer.gif" 
                              width=1></TD></TR>
                          <TR height=7>
                            <TD width=7 
                            background="../styles/a-main/img_izqgris2.gif" 
                            colSpan=2 height=7></TD>
                            <TD>
                              <TABLE id=TablaMargenInferiorBusqueda height=7 
                              cellSpacing=0 cellPadding=0 width="100%" 
                                border=0><TBODY>
                                <TR height=6>
                                <TD width="100%" 
                                background="../styles/a-main/spacer(1).gif" 
                                height=6></TD></TR>
                                <TR height=1>
                                <TD width="100%" 
                                background="../styles/a-main/pixel1.gif" 
                                height=1></TD></TR></TBODY></TABLE></TD>
                            <TD width=7 
                            background="../styles/a-main/img_dergris2.gif" 
                            colSpan=2 height=7></TD></TR></TBODY></TABLE>
							<!-- FIN TABLA BUSQUEDA-->
<!-- FIN TABLA TOTAL --></TD></TR></TBODY></TABLE><!-- FIN DE TABLA PRINCIPAL 950--></TD>
                <TD width=10><IMG 
                  src="../styles/a-main/spacer.gif" 
              width=10></TD></TR></TBODY></TABLE><!-- FIN DE TABLA DE CONTROLES DE PANTALLA--></TD>
          <TD width=6 
          background="../styles/a-main/spacer(1).gif" 
          height="100%"></TD>
          <TD width=1 background="../styles/a-main/pixel1.gif" 
          height="100%"><IMG src="../styles/a-main/spacer.gif" 
            width=1></TD></TR>
        <TR height=7>
          <TD width=7 background="../styles/a-main/img_izq2.gif" 
          colSpan=2 height=7></TD>
          <TD>
            <TABLE id=TablaMargenInferior height=7 cellSpacing=0 cellPadding=0 
            width=970 border=0>
              <TBODY>
              <TR height=6>
                <TD width="100%" 
                background="../styles/a-main/spacer(1).gif" 
                height=6></TD></TR>
              <TR height=1>
                <TD width="100%" 
                background="../styles/a-main/pixel1.gif" 
                height=1></TD></TR></TBODY></TABLE></TD>
          <TD width=7 background="../styles/a-main/img_der2.gif" 
          colSpan=2 height=7></TD></TR></TBODY></TABLE>
	

    </div>
    </form>
</body>
</html>
